package org.jeecg.modules.articles.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: blog_articles
 * @Author: jeecg-boot
 * @Date:   2025-06-30
 * @Version: V1.0
 */
@Data
@TableName("blog_articles")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="blog_articles")
public class BlogArticles implements Serializable {
    private static final long serialVersionUID = 1L;

	/**文章ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "文章ID")
    private java.lang.String id;
	/**文章标题*/
	@Excel(name = "文章标题", width = 15)
    @Schema(description = "文章标题")
    private java.lang.String title;
	/**文章摘要*/
	@Excel(name = "文章摘要", width = 15)
    @Schema(description = "文章摘要")
    private java.lang.String excerpt;
	/**文章内容(Markdown格式)*/
	@Excel(name = "文章内容(Markdown格式)", width = 15)
    @Schema(description = "文章内容(Markdown格式)")
    private java.lang.String content;
	/**分类ID*/
	@Excel(name = "分类ID", width = 15)
    @Schema(description = "分类ID")
    private java.lang.String categoryId;
	/**分类名称*/
	@Excel(name = "分类名称", width = 15)
    @Schema(description = "分类名称")
    private java.lang.String categoryName;
	/**文章图标*/
	@Excel(name = "文章图标", width = 15)
    @Schema(description = "文章图标")
    private java.lang.String icon;
	/**文章颜色*/
	@Excel(name = "文章颜色", width = 15)
    @Schema(description = "文章颜色")
    private java.lang.String color;
	/**文章标签(JSON数组)*/
	@Excel(name = "文章标签(JSON数组)", width = 15)
    @Schema(description = "文章标签(JSON数组)")
    private java.lang.String tags;
	/**阅读次数*/
	@Excel(name = "阅读次数", width = 15)
    @Schema(description = "阅读次数")
    private java.lang.Integer readCount;
	/**状态(0:草稿,1:发布,2:下架)*/
	@Excel(name = "状态(0:草稿,1:发布,2:下架)", width = 15)
    @Schema(description = "状态(0:草稿,1:发布,2:下架)")
    @Dict(dicCode = "articles_status")
    private java.lang.Integer status;
	/**排序权重*/
	@Excel(name = "排序权重", width = 15)
    @Schema(description = "排序权重")
    private java.lang.Integer sortOrder;
	/**SEO关键词*/
	@Excel(name = "SEO关键词", width = 15)
    @Schema(description = "SEO关键词")
    private java.lang.String seoKeywords;
	/**SEO描述*/
	@Excel(name = "SEO描述", width = 15)
    @Schema(description = "SEO描述")
    private java.lang.String seoDescription;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @Schema(description = "创建人")
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private java.util.Date updateTime;
	/**是否删除(0:否,1:是)*/
	@Excel(name = "是否删除(0:否,1:是)", width = 15)
    @Schema(description = "是否删除(0:否,1:是)")
    private java.lang.Integer delFlag;
}
